//Sentence.h
#ifndef SENTENCE_H
#define SENTENCE_H

#include "MyWord.h"
#include<sstream>
#include<vector>

char* str2char(string x);

class Sentence
{
public:
	Sentence(MyWord head);
	Sentence();
	Sentence(const Sentence&);
	Sentence operator = (const Sentence&);
	void add(MyWord);
	void show();
	void getlines();
	void clear();
	~Sentence();
private:
	vector<MyWord> Words;
	int length;
};
#endif // !SENTENCE_H